import redis

pool = redis.ConnectionPool(host='qiukusha.cn')

r = redis.Redis(connection_pool=pool)

r.publish('redischat', 'hello,world')
